package com.xkstream.client.presenter.kt

import com.xkstream.client.base.BaseData
import com.xkstream.client.base.BasePresenter
import com.xkstream.client.base.BasePresenterImpl
import com.xkstream.client.base.BaseView
import com.xkstream.client.entity.kt.MessagesData

/**
 * Created by xiaoyi on 2017-11-2.
 */
interface MessageContract {
    interface Presenter : BasePresenter {
        fun getMessageList(params: Map<String, String>)
        fun readMessage(params: Map<String, String>)
    }

    interface View : BaseView<Presenter> {
        fun showMessageList(data: BaseData<MessagesData>)
        fun showError(message: String)
    }
}